package com.ztgf.sys.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.ztgf.sys.models.dto.SysMenuDTO;
import com.ztgf.sys.models.vo.SysMenuVO;

import java.util.List;

/**
 * <p>
 * 菜单  Mapper 接口
 * </p>
 *
 * @author YUE
 * @since 2020-05-26
 */
public interface SysMenuMapper extends BaseMapper<SysMenuDTO> {
    List<SysMenuVO> selectMenuList();

    List<Long> selectMenuIdListByRoleId(Long roleId);

    List<SysMenuDTO> selectMenuInfoListByRoleId(Long roleId);

    List<SysMenuVO> selectMainMenu();

    SysMenuVO getVOById(Long id);
}
